vulkan: Properly update image layouts
authorBenjamin Otte <otte@redhat.com>
Fri, 14 Jul 2023 21:05:19 +0000 (23:05 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 16 Jul 2023 11:16:43 +0000 (13:16 +0200)
commit6f2fd001a07b818d581949290f3f81253661ad85
tree189cde233c789f20d43e2d4758589f97e106371e
parent3327a6ba0837e001d9e2b58789448faf430cdae8
vulkan: Properly update image layouts

The render pass ops were not updating the image's layout to the final
layout when a render pass ends.

Fix that.

Also make the layouts explicit arguments to the render pass op.
gsk/vulkan/gskvulkanrender.c
gsk/vulkan/gskvulkanrenderpassop.c
gsk/vulkan/gskvulkanrenderpassopprivate.h